#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>
#include <windows.h>

int main()
{
	char arr1[20] = "welcome to bit!!!!!";
	char arr2[20] = "*******************";
	int sz = sizeof(arr1) / sizeof(arr1[0]);
	int left = 0;
	int right = sz -2 ;
	while (left < right)
	{
		arr2[left] = arr1[left];
		arr2[right] = arr1[right];
		printf("%s\n", arr2);
		Sleep(1000);
		system("cls");
		left++;
		right--;
	}
	printf("%s\n", arr2);
	return 0;
}